<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
		<title>Generated Test Cases for Consulta de saldo</title>
		<link href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
		<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
		<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
		<style>		body{
			font: 95% "Trebuchet MS", sans-serif;
			margin: 50px;
		}
		</style>	</head>
	<body>

<script>	$(function() { 		$( "#accordion" ).accordion({ 			heightStyle: "content", 			collapsible: true		});		$( document ).tooltip(); 	});</script>
<table align="center" border="0" cellpadding="0" cellspacing="0" style="width:100%">
		<tr>
			<td>
				<a href="index.html">Return to Index</a>
			</td>
			<td style="text-align: right;">
				<a href="Use-Case-Consulta_de_saldo.html">View Use Case</a>
			</td>
		</tr>
</table>
<h1>Generated Test Cases for <i>Consulta de saldo</i></h1>
<div id="accordion">
<h3>Consulta_de_saldo_TC_1</h3><div>
<table border="1" align="center" cellpadding="1" cellspacing="0" style="width:100%">
	<tbody>
		<tr>
			<td><strong>Name</strong></td>
			<td>Consulta_de_saldo_TC_1</td>
		</tr>
		<tr>
			<td><strong>Test Trail</strong></td>
			<td>Consulta de saldo impresa exitosa</td>
		</tr>
		<tr>
			<td><strong>Preconditions</strong></td>
			<td>El usuario ingresa una tarjeta valida</td>
		</tr>
		<tr>
			<td colspan="2"><strong>Steps</strong></td>
		</tr>
		<tr>
			<td colspan="2">
			<table border="1" cellpadding="2" cellspacing="0" style="width:100%">
				<tbody>
					<tr>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>ID</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Name</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Description</strong></td>
						<td colspan="6" rowspan="1" style="text-align: center;"><strong>Operational Variables</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Expected Result</strong></td>
					</tr>
					<tr>
						<td rowspan="2" style="text-align: center;"><strong>Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Data Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Name</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Condition</strong></td>
						<td colspan="2" style="text-align: center;"><strong>Test values</strong></td>
					</tr>
					<tr>
						<td style="text-align: center;"><strong>Generated</strong></td>
						<td style="text-align: center;"><strong>Singular</strong></td>
					</tr>
					<tr>
						<td>1</td>
						<td>Selecciona Consulta de Saldo</td>
						<td>El cliente selecciona &quot;Consulta de saldo&quot; del men&uacute; principal</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>2</td>
						<td>Solicita cuenta</td>
						<td>El cajero solicita que elija una cuenta para realizar la consulta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>3</td>
						<td>Elige cuenta</td>
						<td>El cliente selecciona una cuenta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>4</td>
						<td>Verifica papel</td>
						<td>El cajero verifica si hay papel</td>
						<td>state</td>
						<td>unsignedint</td>
						<td> <span class="ui-icon ui-icon-info" style="float: left;" title="Almacena el estado del rollo de papel, indicando cuando le queda papel" ></span>hayPapel</td>
						<td>= 1</td>
						<td>1</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>5</td>
						<td>Imprime saldo</td>
						<td>El cajero imprime un recibo con el saldo de la cuenta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td><strong>Expected Results</strong></td>
			<td>El usuario recibe un ticket con el saldo de su cuenta</td>
		</tr>
	</tbody>
</table>
</div>
<h3>Consulta_de_saldo_TC_2</h3><div>
<table border="1" align="center" cellpadding="1" cellspacing="0" style="width:100%">
	<tbody>
		<tr>
			<td><strong>Name</strong></td>
			<td>Consulta_de_saldo_TC_2</td>
		</tr>
		<tr>
			<td><strong>Test Trail</strong></td>
			<td>Consulta de saldo impresa exitosa -&gt; Sin Papel (condition: hayPapel == 0)</td>
		</tr>
		<tr>
			<td><strong>Preconditions</strong></td>
			<td>El usuario ingresa una tarjeta valida</td>
		</tr>
		<tr>
			<td colspan="2"><strong>Steps</strong></td>
		</tr>
		<tr>
			<td colspan="2">
			<table border="1" cellpadding="2" cellspacing="0" style="width:100%">
				<tbody>
					<tr>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>ID</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Name</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Description</strong></td>
						<td colspan="6" rowspan="1" style="text-align: center;"><strong>Operational Variables</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Expected Result</strong></td>
					</tr>
					<tr>
						<td rowspan="2" style="text-align: center;"><strong>Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Data Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Name</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Condition</strong></td>
						<td colspan="2" style="text-align: center;"><strong>Test values</strong></td>
					</tr>
					<tr>
						<td style="text-align: center;"><strong>Generated</strong></td>
						<td style="text-align: center;"><strong>Singular</strong></td>
					</tr>
					<tr>
						<td>1</td>
						<td>Selecciona Consulta de Saldo</td>
						<td>El cliente selecciona &quot;Consulta de saldo&quot; del men&uacute; principal</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>2</td>
						<td>Solicita cuenta</td>
						<td>El cajero solicita que elija una cuenta para realizar la consulta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>3</td>
						<td>Elige cuenta</td>
						<td>El cliente selecciona una cuenta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>4</td>
						<td>Verifica papel</td>
						<td>El cajero verifica si hay papel</td>
						<td>state</td>
						<td>unsignedint</td>
						<td> <span class="ui-icon ui-icon-info" style="float: left;" title="Almacena el estado del rollo de papel, indicando cuando le queda papel" ></span>hayPapel</td>
						<td>&lt;&gt; 1</td>
						<td>0, 2, &quot;NotNumber&quot;, -1</td>
						<td>0</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>5a</td>
						<td>Consulta mostrar saldo en pantalla</td>
						<td>El cajero despliega un mensaje de error diciendo que no hay papel y consulta al usuario si desea ver el saldo de la cuenta en pantalla</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>6a</td>
						<td>Elije opci&oacute;n a seguir</td>
						<td>El usuario selecciona &quot;SI&quot; para ver el saldo en pantalla</td>
						<td>input</td>
						<td>string</td>
						<td> <span class="ui-icon ui-icon-info" style="float: left;" title="Indica la opci&oacute;n elegida por el usuario si es que decide mostrar el saldo de su cuenta en la pantalla del cajero o no" ></span>mostrarSaldo</td>
						<td>= SI</td>
						<td>&quot;SI&quot;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>7a</td>
						<td>Muestra saldo en pantalla</td>
						<td>El cajero despliega el Saldo de la cuenta en pantalla. El caso de uso termina</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td><strong>Expected Results</strong></td>
			<td>El saldo de la cuenta es presentado en pantalla al usuario. El caso de uso termina exitosamente por una via alternativa</td>
		</tr>
	</tbody>
</table>
</div>
<h3>Consulta_de_saldo_TC_3</h3><div>
<table border="1" align="center" cellpadding="1" cellspacing="0" style="width:100%">
	<tbody>
		<tr>
			<td><strong>Name</strong></td>
			<td>Consulta_de_saldo_TC_3</td>
		</tr>
		<tr>
			<td><strong>Test Trail</strong></td>
			<td>Consulta de saldo impresa exitosa -&gt; Sin Papel (condition: hayPapel == 0) -&gt; Usuario cancela la consulta (condition: mostrarSaldo == &quot;NO&quot;)</td>
		</tr>
		<tr>
			<td><strong>Preconditions</strong></td>
			<td>El usuario ingresa una tarjeta valida</td>
		</tr>
		<tr>
			<td colspan="2"><strong>Steps</strong></td>
		</tr>
		<tr>
			<td colspan="2">
			<table border="1" cellpadding="2" cellspacing="0" style="width:100%">
				<tbody>
					<tr>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>ID</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Name</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Description</strong></td>
						<td colspan="6" rowspan="1" style="text-align: center;"><strong>Operational Variables</strong></td>
						<td colspan="1" rowspan="3" style="text-align: center;"><strong>Expected Result</strong></td>
					</tr>
					<tr>
						<td rowspan="2" style="text-align: center;"><strong>Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Data Type</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Name</strong></td>
						<td rowspan="2" style="text-align: center;"><strong>Condition</strong></td>
						<td colspan="2" style="text-align: center;"><strong>Test values</strong></td>
					</tr>
					<tr>
						<td style="text-align: center;"><strong>Generated</strong></td>
						<td style="text-align: center;"><strong>Singular</strong></td>
					</tr>
					<tr>
						<td>1</td>
						<td>Selecciona Consulta de Saldo</td>
						<td>El cliente selecciona &quot;Consulta de saldo&quot; del men&uacute; principal</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>2</td>
						<td>Solicita cuenta</td>
						<td>El cajero solicita que elija una cuenta para realizar la consulta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>3</td>
						<td>Elige cuenta</td>
						<td>El cliente selecciona una cuenta</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>4</td>
						<td>Verifica papel</td>
						<td>El cajero verifica si hay papel</td>
						<td>state</td>
						<td>unsignedint</td>
						<td> <span class="ui-icon ui-icon-info" style="float: left;" title="Almacena el estado del rollo de papel, indicando cuando le queda papel" ></span>hayPapel</td>
						<td>&lt;&gt; 1</td>
						<td>0, 2, &quot;NotNumber&quot;, -1</td>
						<td>0</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>5a</td>
						<td>Consulta mostrar saldo en pantalla</td>
						<td>El cajero despliega un mensaje de error diciendo que no hay papel y consulta al usuario si desea ver el saldo de la cuenta en pantalla</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>6a</td>
						<td>Elije opci&oacute;n a seguir</td>
						<td>El usuario selecciona &quot;SI&quot; para ver el saldo en pantalla</td>
						<td>input</td>
						<td>string</td>
						<td> <span class="ui-icon ui-icon-info" style="float: left;" title="Indica la opci&oacute;n elegida por el usuario si es que decide mostrar el saldo de su cuenta en la pantalla del cajero o no" ></span>mostrarSaldo</td>
						<td>&lt;&gt; SI</td>
						<td>&quot;S&quot;, &quot;I&quot;, &quot;not SI&quot;, &quot;SI0&quot;</td>
						<td>NO</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>7b</td>
						<td>Vuelve al Menu</td>
						<td>El cajero vuelve al menu principal y el caso de uso termina sin que el saldo haya sido mostrado en pantalla</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td><strong>Expected Results</strong></td>
			<td>El saldo no fue consultado ni mostrado en pantalla</td>
		</tr>
	</tbody>
</table>
</div>
</div>
	</body>
</html>